From 69f19f89f7b6f110c333c233f598c5d59468b812 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 4 Jun 1993 18:01:53 +0000 Subject: [PATCH] (Fnewline): Use Fbarf_if_buffer_read_only. --- src/cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmds.c b/src/cmds.c index 1025c9c0d2c..f0dbf72cfcd 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -241,7 +241,7 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.") arg = Fprefix_numeric_value (arg1); if (!NILP (current_buffer->read_only)) - Fsignal (Qbuffer_read_only, Qnil); + Fbarf_if_buffer_read_only (); /* Inserting a newline at the end of a line produces better redisplay in try_window_id than inserting at the ebginning fo a -- 2.30.2